package com.dstation.domain;

import lombok.ToString;

import java.sql.Timestamp;

@ToString
public class UserInfo {

    private Long userId;

    private String userName;

    private String userPhone;

    private String userPassword;

    private Boolean userGender; // true代表男，false代表女，默认为男

    private Timestamp userBirthday;  //默认为当前日期,同createDate

    private String userSignature; //默认为null

    private String userIcon;    //默认图片

    private Double userBalance;   //默认为0

    private Integer privilegetimes; //默认为0

    private Timestamp createDate;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Boolean getUserGender() {
        return userGender;
    }

    public void setUserGender(Boolean userGender) {
        this.userGender = userGender;
    }

    public Timestamp getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Timestamp userBirthday) {
        this.userBirthday = userBirthday;
    }

    public String getUserSignature() {
        return userSignature;
    }

    public void setUserSignature(String userSignature) {
        this.userSignature = userSignature;
    }

    public String getUserIcon() {
        return userIcon;
    }

    public void setUserIcon(String userIcon) {
        this.userIcon = userIcon;
    }

    public Double getUserBalance() {
        return userBalance;
    }

    public void setUserBalance(Double userBalance) {
        this.userBalance = userBalance;
    }

    public Integer getPrivilegetimes() {
        return privilegetimes;
    }

    public void setPrivilegetimes(Integer privilegetimes) {
        this.privilegetimes = privilegetimes;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }
}